import React from "react";
import { Drawer, Tabs, Icon, Button, Select, Radio } from 'antd';
import Editor from '@/utils/Editor';
const { TabPane } = Tabs;

class UserDrawer extends React.Component {
  state = {
    visible: false,
  };

  showDrawer = () => {
    this.setState({ visible: true });
  };

  onClose = () => {
    this.setState({ visible: false, }, () => {
      this.props.onClosed();
    });
  };

  render() {
    const { visible } = this.props;
    return (
      <div>
        <Drawer closable width="500" title='123' placement="right" onClose={this.onClose} visible={visible} destroyOnClose>123</Drawer>
      </div>
    );
  }
}

export default UserDrawer;
